<?php	
	/*
	测试：循环读取一个文件
	*/
	$file_name = "/root/test.log";
	$size = 0;
	$fp = fopen($file_name , "r");
	if($fp)
	{
		while( ($c=fgetc($fp))!==false )
		{
			$size++;
		}
		fclose($fp);
	}
	print("size:$size\n");
